package org.zyx.item.api;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.zyx.item.entity.Brand;

public interface BrandApi {


    /**
     * 通过id查找分类
     * @param id
     * @return
     */
    @GetMapping("/brand/{id}")
    public Brand findBrandById(@PathVariable("id") Long id);

}
